package com.wyl.auth.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* @Description 菜单表
* @Author WuYiLong
* @Date 2024-12-02
*/
@Data
@ApiModel(value = "SysMenuVo对象", description = "菜单表")
public class SysMenuVo implements Serializable {
private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "组件")
    private String component;

    @ApiModelProperty(value = "重定向路径")
    private String redirectPath;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "中文名称")
    private String label;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "是否删除？1是，0否")
    private Integer deleted;

    @ApiModelProperty(value = "创建人id")
    private Long createUserId;

    @ApiModelProperty(value = "更新人id")
    private Integer updateUserId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "菜单类型")
    private Integer type;

    @ApiModelProperty(value = "是否隐藏")
    private Integer isHidden;

    @ApiModelProperty(value = "权限标识")
    private String code;

    @ApiModelProperty(value = "访问路径")
    private String url;
}
